package com.ByteDance.service;

import com.ByteDance.model.po.FavoriteEntity;
import com.ByteDance.model.po.VideoEntity;
import com.ByteDance.model.vo.Video;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;

/**
 * <p>
 * 视频点赞表 服务类
 * </p>
 *
 * @author 朱哥
 * @since 2024-03-03
 */
public interface IFavoriteService extends IService<FavoriteEntity> {

    Boolean action(int userId, int videoId, int actionType);

    Video[] searchFavoriteByUserId(int userId);

    boolean isFavorite(Integer videoId, Integer userId);
}
